package com.ecomcs.annuaire;

import java.io.IOException;
import javax.servlet.http.*;

import com.google.gdata.util.AuthenticationException;

//@SuppressWarnings("serial")
public class AnnuaireServlet extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		
		resp.setContentType("text/plain");
		resp.getWriter().println("Hello, world");
		GoogleConnector connector;
		try {
			
			connector = new GoogleConnector();
			connector.showDomainContact(resp.getWriter());
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
